import request from '@/utils/request'

export function getWorkTime() {
  return request({
    url: '/checkWork/workTime',
    method: 'get'
  })
}

export function modifyWorkTime(id, data) {
  return request({
    url: `/checkWork/workTime/${id}`,
    method: 'put',
    data
  })
}
